package com.csun.cmny.provider.service;

import com.csun.cmny.base.dto.LoginAuthDto;
import com.csun.cmny.core.support.IService;
import com.csun.cmny.provider.model.domain.OmcMerchandise;
import com.csun.cmny.provider.model.dto.longRangeServiceOrder.LongRangeSuperviseAnOrderMerchandiseDto;
import com.csun.cmny.provider.model.dto.merchandise.MerchandiseQueryDto;
import com.csun.cmny.provider.model.dto.merchandise.MerchandiseselectDto;
import com.csun.cmny.provider.model.vo.MerchandiseDetailVo;
import com.csun.cmny.provider.model.vo.MerchandiseVo;

import java.util.List;

public interface OmcMerchandiseService extends IService<OmcMerchandise> {
    List<MerchandiseVo> selectMerchandise(MerchandiseQueryDto merchandiseQueryDto);

    /*
    * 查询多条商品信息
    * */
    List<MerchandiseVo> selectByIdList(List<Long> idList);

    List<MerchandiseVo> selectMerchandiseAndmerchant(MerchandiseselectDto merchandiseselectDto);

//    通过二级服务id查询商品信息
    List<MerchandiseDetailVo> selectBySecondId(Long secondLevelId);

    int addSupervise(LongRangeSuperviseAnOrderMerchandiseDto longRangeSuperviseAnOrderMerchandiseDto, LoginAuthDto loginAuthDto);
}
